    {/*头部开始*/}
    {if ISPJAX != 1 }
    <header class="main-header">
        <a href="javascript:void(0);" class="logo"><span class="logo-mini">管理后台</span><span class="logo-lg">后台</span></a>
        <nav class="navbar navbar-static-top">
            <a href="javascript:void(0);" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <li class="dropdown messages-menu">
                        <a href="/" target="_blank" >{$Think.lang.web_home}</a>
                    </li>
                    <li class="dropdown messages-menu">
                        <a href="javascript:void(0);" class="delete" data-url="{:url('Index/cleanCache')}" data-id="-1" data-title="{$Think.lang.clean_cache}" >{$Think.lang.clean_cache}</a>
                    </li>
                    <li class="dropdown user user-menu">
                        <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="{:cookie('avatar')}" class="user-image" />
                            <span class="hidden-xs">{:cookie('name')}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="user-header">
                                <img src="{:cookie('avatar')}" class="img-circle" />
                                <p>{:cookie('name')}</p>
                            </li>
                            <li class="user-footer">
                                <div class="pull-left"><a href="{:url('User/edit', ['id' => session('userId')])}" class="btn btn-default btn-flat">{$Think.lang.personal_set}</a></div>
                                <div class="pull-right"><a href="{:url('Login/loginOut')}" class="btn btn-default btn-flat">{$Think.lang.login_out}</a></div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    {/if}
    {/*头部结束*/}